package com.youlai.boot.modules.accounts.model.form;

import java.io.Serial;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import jakarta.validation.constraints.*;

/**
 * 账户明细表单对象
 *
 * @author lz0816
 * @since 2025-05-23 15:57
 */
@Getter
@Setter
@Schema(description = "账户明细表单对象")
public class PlatformAccountForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    @NotNull(message = "不能为空")
    private Long ownerId;

    @Size(max=255, message="长度不能超过255个字符")
    private String platform;

    @Size(max=255, message="长度不能超过255个字符")
    private String username;

    @Size(max=255, message="长度不能超过255个字符")
    private String password;

    @Size(max=255, message="长度不能超过255个字符")
    private String remark;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @Schema(description = "多张图片")
    @Size(max=65535, message="多张图片长度不能超过65535个字符")
    private String picUrls;


}
